#import <Foundation/Foundation.h>


#import "Engine.h"
#import "Tire.h"
#import "Car.h"



int main (int argc, const char * argv[]) 
{
	Car *car = [ Car new ];
	
	//create 4 Tires... 
	for (int i=0; i < 4; ++i) 
	{
		Tire *tire = [ Tire new ];
		
		[ car setTire: tire 
			  atIndex: i ];
	}
	
	Engine *engine = [ Engine new ];
	
	[ car setEngine: engine ];
	
	[ car print ];
	
	//
	return 0;
}
